﻿@using NHibData
@model StudyEnglish.Models.DictionaryModel

@{
    ViewBag.Title = "Dictionary";
}

@section xscripts
{
    <script src="../../Scripts/bootstrap-tab.js" type="text/javascript"></script>
}

<h2>Dictionary</h2>


<ul class="nav nav-tabs" >
    <li class="active"><a href="#Levels" data-toggle="tab">Levels</a></li>
    <li><a href="#Categories" data-toggle="tab">Categories</a></li>
    <li><a href="#Subcategories" data-toggle="tab">Subcategories</a></li>
    <li><a href="#Topics" data-toggle="tab">Topics</a></li>
    <li><a href="#Types" data-toggle="tab">Types</a></li>
</ul>
 
<div class="tab-content" >
    <div class="tab-pane active" id="Levels">
        @{Html.RenderPartial("DictionaryEditor", Model.Levels);}
    </div>
    <div class="tab-pane" id="Categories">
        @{Html.RenderPartial("DictionaryEditor", Model.Categories);}
    </div>
    <div class="tab-pane" id="Subcategories">
        @{Html.RenderPartial("DictionaryEditor", Model.SubCategories);}
    </div>
    <div class="tab-pane" id="Topics">
        @{Html.RenderPartial("DictionaryEditor", Model.Topics);}
    </div>
    <div class="tab-pane" id="Types">
        @{Html.RenderPartial("DictionaryEditor", Model.Types);}
    </div>
</div>
 
 
